#import <CoreData/CoreData.h>

@class RNListItem;
@class RNHistoryItem;
@class RNCategory;
@class RNAisle;

@interface RNItem :  NSManagedObject  
{
}

@property (retain) NSNumber * confidence;
@property (retain) NSString * title;
@property (retain) NSImage *icon;
@property (retain) NSSet* listItems;
@property (retain) NSSet* historyItems;
@property (retain) RNCategory * category;
@property (retain) NSSet* aisles;
@property (retain) NSNumber *favorite;

@end

@interface RNItem (CoreDataGeneratedAccessors)
- (void)addHistoryItemsObject:(RNHistoryItem *)value;
- (void)removeHistoryItemsObject:(RNHistoryItem *)value;
- (void)addHistoryItems:(NSSet *)value;
- (void)removeHistoryItems:(NSSet *)value;

- (void)addListItemsObject:(RNListItem *)value;
- (void)removeListItemsObject:(RNListItem *)value;
- (void)addListItems:(NSSet *)value;
- (void)removeListItems:(NSSet *)value;

- (void)addAislesObject:(RNAisle *)value;
- (void)removeAislesObject:(RNAisle *)value;
- (void)addAisles:(NSSet *)value;
- (void)removeAisles:(NSSet *)value;

@end

